class Line {
    constructor (initColor, initSize) {
        this.points = [];
        this.color = initColor;
        this.size = initSize;
    }
    addPoint(point) {
        this.points.push(point);
    }
    getLastPoint() {
        return this.points[this.points.length - 1];
    }
}
export default Line;